package com.qfmy.webapp.mapper.common;

import com.qfmy.model.entity.common.AppUpdate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 清风明月
 * @Package com.qfmy.webapp.mapper.common
 * @date 2025/11/24
 * @description 升级中心
 */
@Mapper
@SuppressWarnings("all")
public interface AppUpdateMapper {

    /**
     * 获取最新版本
     * @return
     */
    @Select("select * from app_update where status = 2 order by create_time desc limit 1")
    AppUpdate getLatestVersion();

}
